package com.huowenjie.dao;

import com.huowenjie.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface UserDao extends JpaRepository<User,Long> {

    List<User> findBySexEquals(String sex);

    List<User> findByNameLike(String name);

}
